package de.urlaub.server.logic;

import java.util.ArrayList;
import java.util.HashMap;

import javax.ejb.Remote;

import de.urlaub.client.data.Employee;
import de.urlaub.client.data.Vacation;

@Remote
public interface DataUtilRemote {
	public void createSampleData();
	public String[] getVacationColumnNames(boolean showExtendedView);
	public Object[][] getVacationTableData(boolean showExtendedView);
	
	public void queryVacations(int state);
	public void queryVacations(int state, Employee employee);
	public ArrayList<Vacation> getVacations();
	public Vacation getVacation(int vacationId);
	public void updateVacations(HashMap<Integer, Boolean> changedVacations);
	
	public ArrayList<Employee> getEmployees();
}
